package com.weixing.mall.provider.model.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.constant.DatePattern;
import com.weixing.mall.provider.model.enums.MemberPointEnum;
import lombok.Data;

import java.util.Date;

@Data
public class MemberPointVo {

    /**
     * id
     */
    private  Long id;
    /**
     * 会员id
     */
    private Long memberId;

    /**
     * 会员名称
     */
    private  String memberName;

    /**
     * 会员手机号
     */
    private  String mobile;

    /**
     * 进出类型
     */
    private MemberPointEnum inOrOut;

    /**
     * 积分制
     */
    private Integer count;

    /**
     * 获取积分描述
     */
    private String desp;

    /**
     * 创建人
     */
    private Long createdBy;

    /**
     * 创建时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date createdTime;

    /**
     * 更新人
     */
    private Long updatedBy;

    /**
     * 更新时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date updatedTime;

    private  Integer afterNum;

    private  Integer beferNum;
}
